package com.lzx.adx.report.dto.meituan;

import lombok.Data;

import java.io.Serializable;

@Data
public class MeiTuanResponse implements Serializable {

  
    private String errcode;

    private String errmsg;

    public MeiTuanResponse( ) {
    }

    public MeiTuanResponse(String errcode, String errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    public MeiTuanResponse ok(){
        this.errcode = "0";
        this.errmsg = "ok";
        return this;
    }

    public MeiTuanResponse err(){
        this.errcode = "1";
        this.errmsg = "err";
        return this;
    }
}
